package com.ppd.generator.wrapper;/**
 * Created by abel.lin on 2017/2/28.
 */

/**
 * @author abel.lin
 * @date_time 2017/2/28 15:43
 * @description
 */
public class ClassInfo {

    private String controllerPackage;
    private String entityPackage;
    private String daoPackage;
    private String mapperPackage;
    private String servicePackage;
    private String serviceImplPackage;
    private String domainPackage;
    private String controllerName;
    private String entityName;
    private String criteriaName;
    private String mapperName;
    private String daoName;
    private String serviceName;
    private String serviceImplName;
    private String domainName;
    private String jspName;
    private String tableFirstName;
    private String baseMapper;
    private String baseMapperPackage;

    private boolean importUtil = false;
    private boolean importMath = false;

    public String getControllerPackage() {
        return controllerPackage;
    }

    public void setControllerPackage(String controllerPackage) {
        this.controllerPackage = controllerPackage;
    }

    public String getEntityPackage() {
        return entityPackage;
    }

    public void setEntityPackage(String entityPackage) {
        this.entityPackage = entityPackage;
    }

    public String getDaoPackage() {
        return daoPackage;
    }

    public void setDaoPackage(String daoPackage) {
        this.daoPackage = daoPackage;
    }

    public String getMapperPackage() {
        return mapperPackage;
    }

    public void setMapperPackage(String mapperPackage) {
        this.mapperPackage = mapperPackage;
    }

    public String getServicePackage() {
        return servicePackage;
    }

    public void setServicePackage(String servicePackage) {
        this.servicePackage = servicePackage;
        this.serviceImplPackage = servicePackage+".impl";
    }

    public String getServiceImplPackage() {
        return serviceImplPackage;
    }

    public String getControllerName() {
        return controllerName;
    }

    public void setControllerName(String controllerName) {
        this.controllerName = controllerName;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getCriteriaName() {
        return criteriaName;
    }

    public void setCriteriaName(String criteriaName) {
        this.criteriaName = criteriaName;
    }

    public String getMapperName() {
        return mapperName;
    }

    public void setMapperName(String mapperName) {
        this.mapperName = mapperName;
    }

    public String getDaoName() {
        return daoName;
    }

    public void setDaoName(String daoName) {
        this.daoName = daoName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
        this.serviceImplName = serviceName + "Impl";
    }

    public String getServiceImplName() {
        return serviceImplName;
    }

    public boolean isImportUtil() {
        return importUtil;
    }

    public void setImportUtil(boolean importUtil) {
        this.importUtil = importUtil;
    }

    public boolean isImportMath() {
        return importMath;
    }

    public void setImportMath(boolean importMath) {
        this.importMath = importMath;
    }

    public String getJspName() {
        return jspName;
    }
    public String getDomainPackage() {
        return domainPackage;
    }

    public void setJspName(String jspName) {
        this.jspName = jspName;
    }

    public String getTableFirstName() {
        return tableFirstName;
    }

    public void setTableFirstName(String tableFirstName) {
        this.tableFirstName = tableFirstName;
    }
    public void setDomainPackage(String domainPackage) {
        this.domainPackage = domainPackage;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getBaseMapper() {
        return baseMapper;
    }

    public void setBaseMapper(String baseMapper) {
        this.baseMapper = baseMapper;
    }

    public String getBaseMapperPackage() {
        return baseMapperPackage;
    }

    public void setBaseMapperPackage(String baseMapperPackage) {
        this.baseMapperPackage = baseMapperPackage;
    }
}
